
//
//  UILabel+Estension.swift
//  GuoGuo
//
//  Created by 艾小新 on 16/8/2.
//  Copyright © 2016年 xiaoxin. All rights reserved.
//

import UIKit


extension UILabel {
    
    
    // 便利构造函数撰写分类
    
    convenience init (title: String,color:UIColor,textAlignment:NSTextAlignment? = .Center) {
        
        self.init()
        self.text = title
        self.textColor = color
        self.textAlignment = textAlignment!
    }
    

    
    
}
